<template>
    <el-link type="primary" v-if="!isHomePath" class="button-home" @click="$router.push('/')">首页</el-link>
</template>

<script>

import {
	mapGetters
} from 'vuex' ;

export default {

    computed:{
        ...mapGetters('Menu' , [
            'isHomePath'
        ])
    }

} ;

</script>